home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / vbinst13 / vbinst.txt < prev    next >
Text File  |  1992-09-01  |  3KB  |  82 lines

  1.                             
  2.                                    VBINST.EXE v.1.30
  3.  
  4. This installation program is copletely free to use for everyone who 
  5. needs an intallation program for their products. You may edit it as you 
  6. find it useful. I have commented the source code the best I could. There 
  7. is also some Windows API calls you may find useful to use in your 
  8. programs.
  9.  
  10. If you find it useful please send me a comments via CompuServe, etc. 
  11. suggestion, enhancement you may have done to it and that's all it's 
  12. going to cost you. But you MAY NOT use it (in any condition) as 
  13. commercial product by its own! You may distribute it with your own 
  14. program as installation program as long as you get paid because of your 
  15. own program not by VBINST program.  
  16.  
  17. This program requires VBRUN100.DLL found in MS-BASIC forum and 
  18. small DLL called vbinst.dll which comes along the VBINST (see later 
  19. more about VBINST.DLL). The main key to use this program is ASCII 
  20. file named install.inf, which has all the information to install your 
  21. products (see the comments found in install.inf).
  22.  
  23. I'm not responsible any problems occuring while use of this program but 
  24. I have tested it pretty well and it has seemed to work fine. It detects 
  25. most faults given by user, so it should not crash easily or do any harm to 
  26. your system.
  27.  
  28. For now it only supports 1 (one) source disk because it is mainly for 
  29. Visual Basic programs you may develop and those programs should 
  30. easily fit in 1 (one) disk. Later on I may add support for more than 1 disk 
  31. as well as data compression feature. 
  32. If you have questions about the product, please feel free to contact me 
  33. via CompuServe or hit me with a letter!
  34.  
  35. VBINST.DLL:
  36. I wrote this little utility (only 1792 Bytes) to check the free diskspace so 
  37. that it will be used by VBINST to ensure there's enough free diskspace 
  38. to install program. I wrote it with Turbo Pascal for Windows and the 
  39. source code (VBINST.PAS) comes with this program. If you want, you 
  40. can edit the source code freely by your needs. It now support two 
  41. functions not found directly in Visual Basic:
  42.  
  43. Declare Function DFree Lib "vbinst.dll" (ByVal Disk As Integer) As Long
  44. Declare Function DSize Lib "vbinst.dll" (ByVal Disk As Integer) As Long
  45.  
  46. DFree is function that returns disk freespace
  47. DSize is function that returns disksize (not used in VBINST)
  48. For more information to use DFree see VBINST.GBL and VBINST.FRM 
  49. source code.
  50. After you have determined diskspace your program need, you only need 
  51. to assign the amount in KiloBytes to INSTALL.INF etc:
  52. [Def]
  53. needspace=270 
  54. See install.inf for further details.
  55.  
  56. Enhancements since VBINST v.1.00
  57.  
  58. VBINST v.1.20
  59. Support more than 1 program or file to be added Program Manager 
  60. group using DDE conversation insted of SendKeys. 
  61.  
  62.  
  63. VBINST v.1.30 
  64. Now able to check free diskspace needed for program to be istalled, 
  65. Warns if there is not free diskspace needed. Better error checking for 
  66. usergiven directories. Interactive warning if file already exist in 
  67. destination. Display wait window when loading, especially useful in slow 
  68. computers, so user is aware  of that something is really happening. DDE 
  69. conversation now works correctly, which earlier caused some trouble if 
  70. the Program Manager group already existed.
  71.  
  72. Name and Address:
  73. Jari Kallonen 
  74. Sallinkatu 2 B 48
  75. 00250 Helsinki
  76. FINLAND
  77.  
  78. CompuServe ID:
  79. 100020,2452
  80.                                      
  81.  
  82.